package com.wlzg.collectiontool.model.bean

import androidx.room.Entity
import androidx.room.PrimaryKey
import androidx.room.TypeConverters
import com.google.gson.annotations.SerializedName
import com.wlzg.collectiontool.db.HunjieConvert
import com.wlzg.collectiontool.db.ImageConvert
import com.wlzg.collectiontool.util.DateUtil

@Entity(tableName = "psliguan")
@TypeConverters(HunjieConvert::class, ImageConvert::class)
 class PsLiguan :BaseGuandian(){
   @PrimaryKey(autoGenerate = true)
   var lgid :Long?=null
    @SerializedName("constructionDate")
    var constructionDate: String? = null

    @SerializedName("createBy")
    var createBy: String? = null

    @SerializedName("createTime")
    var createTime: String? = null

    @SerializedName("datasource")
    var datasource = 0

    @SerializedName("districtId")
    var districtId: String? = null

    @SerializedName("districtName")
    var districtName: String? = null

    @SerializedName("locationcode")
    var locationcode: String? = null

    @SerializedName("objectid")
    var objectid = 0

    @SerializedName("outfallcode")
    var outfallcode: String? = null

    @SerializedName("proCode")
    var proCode: String? = null

    @SerializedName("rainsewamix")
    var rainsewamix = 0

    @SerializedName("remark")
    var remark: String? = null
    @SerializedName("remark2")
    var remark2: String? = null

    @SerializedName("reportDate")
    var reportDate: String? = null

    @SerializedName("reportUnit")
    var reportUnit: String? = null

    @SerializedName("riserCategory")
    var riserCategory = 0

    @SerializedName("riserDia1")
    var riserDia1: String? = null

    @SerializedName("riserDia2")
    var riserDia2: String? = null

    @SerializedName("riserDir")
    var riserDir = 0

    @SerializedName("riserDownElev")
    var riserDownElev = 0.0

    @SerializedName("riserHigh")
    var riserHigh = 0

    @SerializedName("riserMat")
    var riserMat = 0

    @SerializedName("riserShap")
    var riserShap = 0

    @SerializedName("riserSour")
    var riserSour = 0

    @SerializedName("risercode")
    var risercode: String? = ""

    @SerializedName("riserid")
    var riserid: String? = null

    @SerializedName("roadName")
    var roadName: String? = null

    @SerializedName("shape")
    var shape: String? = null

    @SerializedName("systemCode")
    var systemCode: String? = null

    @SerializedName("updateBy")
    var updateBy: String? = null

    @SerializedName("updateTime")
    var updateTime: String? = null

    @SerializedName("wsxtid")
    var wsxtid: String? = null

    @SerializedName("x1Coor")
    var x1Coor = 0.0

    @SerializedName("xcoor")
    var xcoor = 0

    @SerializedName("y1Coor")
    var y1Coor = 0.0

    @SerializedName("ycoor")
    var ycoor = 0

    @SerializedName("ysxtid")
    var ysxtid: String? = null

 init {
  createTime= DateUtil.getCurData()
 }
}